<template>
  <div class="success-page">
    <div class="success-container">
      <i class="success-icon el-icon-circle-check" />
      <h1>预约成功</h1>
      <p>如有疑问，请联系：188 5832 9315</p>
      <!-- <button onclick="window.location.href='/'">返回首页</button> -->
    </div>
  </div>
</template>
<style style="scss" scoped>
.success-page {
  font-family: Arial, sans-serif;
  background-color: #f8fafc;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  padding: 0;
}

.success-container {
  text-align: center;
  max-width: 400px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  animation: fadeIn 0.5s ease-in-out;
}

.success-icon {
  display: inline-block;
  font-size: 100px;
  background-size: contain;
  margin-bottom: 1rem;
  color: #65B85D;
}

h1 {
  font-size: 2em;
  color: #65B85D;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1.1em;
  line-height: 1.5;
  color: #F50;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
</style>
